﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SafeScript.MetaModel.Statements
{
    /// <summary>
    /// Converts a member function to a function object, i.e. the type changes
    /// from FunctionTypDef to InstanceType.
    /// </summary>
    public class FunctionObjectOperator : Operator
    {
        public Operator Function;

        public override int GetPrecedence()
        {
            return this.Function.GetPrecedence();
        }
    }
}
